.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.input-group {
    margin: 20px 0;
}

#nameList {
    width: 100%;
    height: 200px;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    font-size: 16px;
}

.controls {
    margin: 20px 0;
}

button {
    padding: 12px 30px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

#startBtn {
    background-color: #4CAF50;
    color: white;
}

#stopBtn {
    background-color: #f44336;
    color: white;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#displayArea {
    margin-top: 30px;
    padding: 20px;
    font-size: 24px;
    min-height: 60px;
    border: 2px dashed #4CAF50;
    border-radius: 5px;
}

.rolling {
    animation: roll 0.1s infinite;
}

@keyframes roll {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.highlight {
    color: #f44336;
    font-weight: bold;
    font-size: 28px;
}
